package com.yungu.swift.assets.passenger.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.Date;

/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * <p>
 * 乘客紧急方式表
 *
 * @author Zerrion
 * @version 1.0.0-RELEASE
 * @since 2018-10-16 10:39
 */
public class PassengerEmergencyDto extends BaseDto {
    /* Constants */

    public final static int EMERGENCY_STATUS_VALID = 1;
    public final static int EMERGENCY_STATUS_INVALID = 0;

    /* Fields */
    /**
     * 乘客UUID
     */
    private String passengerUuid;
    /**
     * 生效时间段开始
     */
    private Date emergencyTimeStart;
    /**
     * 生效时间段结束
     */
    private Date emergencyTimeEnd;
    /**
     * 是否自动分享行程（1：是，0：否）
     */
    private Integer emergencyStatus;

    /**
     * 状态(1.有效 2.无效)
     */
    private Integer status;

    /* Gets and Sets */

    public String getPassengerUuid() {
        return passengerUuid;
    }

    public void setPassengerUuid(String passengerUuid) {
        this.passengerUuid = passengerUuid;
    }

    public Date getEmergencyTimeStart() {
        return emergencyTimeStart;
    }

    public void setEmergencyTimeStart(Date emergencyTimeStart) {
        this.emergencyTimeStart = emergencyTimeStart;
    }

    public Date getEmergencyTimeEnd() {
        return emergencyTimeEnd;
    }

    public void setEmergencyTimeEnd(Date emergencyTimeEnd) {
        this.emergencyTimeEnd = emergencyTimeEnd;
    }

    public Integer getEmergencyStatus() {
        return emergencyStatus;
    }

    public void setEmergencyStatus(Integer emergencyStatus) {
        this.emergencyStatus = emergencyStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
